import 'package:get_it/get_it.dart';
import 'package:mobile_app.home.collections/injection_container.dart' as collection_di;
import 'package:mobile_app.home.core/injection_container.dart' as home_core_di;
import 'package:mobile_app.home.learning/injection_container.dart' as learning_di;
import 'package:mobile_app.home.menu/injection_container.dart' as menu_di;

final sl = GetIt.asNewInstance();

Future<void> init() async {
  await home_core_di.init();

  await Future.wait([
    collection_di.init(),
    learning_di.init(),
    menu_di.init(),
  ]);
}
